

import java.util.Scanner;

public class Test {

    public static void main1(String[] args) {

        int i = 0;
        for(int j = 1; j < 101; j++){

            if(j % 10 == 9 | (j/10) == 9){
                i++;
            }

            if((j/10) == 9){
                i++;
            }

        }
        System.out.println(i);
    }


    public static void main2(String[] args) {

        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int i = 1;

        for ( i = 1; i < n; i++) {
            if (n % i == 0){
                break;
            }
        }

        if(i >= n) {
            System.out.println(n + "是素数！");
        }

    }

    public static void main(String[] args) {

        for(int i = 0; i < 5; i++) {

            for (int j = 0; j < 5; j++) {

                if(i == j | i + j == 4){
                    System.out.print("*");
                }else {
                    System.out.print(" ");
                }
            }
            System.out.print("\n");
        }
    }
}
